package data;

import java.util.HashMap;




public class ForumServer
{

	public ForumServer(){
		Forum mainForum =  Forum.getForum();
		mainForum.addSubForum("sport", new HashMap<Integer,Member>());
		mainForum.addSubForum("music", new HashMap<Integer,Member>());
		MemberDataBase database = MemberDataBase.getMembersDataBase();
		database.addNewMember("admin", "admin");
		Member admin = database.getMember("admin");
		admin.set_isAdmin(true);
		mainForum.set_admin(admin);
	}
	
}


